<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openshot</Name>
        <Homepage>http://www.openshotvideo.com</Homepage>
        <Packager>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>openshot</Icon>
        <IsA>app:gui</IsA>
        <Summary>An award-winning free and open-source video editor.</Summary>
        <Description>OpenShot Video Editor is an award-winning free and open-source video editor and is dedicated to delivering high quality video editing and animation solutions to the world.</Description>
        <Archive sha1sum="ccc397a488253e3cdd26bd8ff59ad050bfe57323" type="targz">https://github.com/OpenShot/openshot-qt/archive/refs/tags/v2.6.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>faac-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>python3-pyzmq</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>python-gtk-devel</Dependency>
            <Dependency>libopenshot-devel</Dependency>
            <Dependency>python3-requests</Dependency>
            <Dependency>python3-qt5-devel</Dependency>
            <Dependency>python3-setuptools</Dependency>
            <Dependency>libopenshot-audio-devel</Dependency>
            <Dependency>python3-importlib_metadata</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>video_widget.patch</Patch>
            <Patch>openshot-2.6.1-no_metric_default.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>openshot</Name>
        <RuntimeDependencies>
            <Dependency>faac</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>python3</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>python-gtk</Dependency>
            <Dependency>python-mlt</Dependency>
            <Dependency>libopenshot</Dependency>
            <Dependency>python3-qt5</Dependency>
            <Dependency>python3-pyzmq</Dependency>
            <Dependency>libopenshot-audio</Dependency>
            <Dependency>python3-importlib_metadata</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/lib/python2.7/site-packages/openshot/locale</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/metainfo</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2022-07-05</Date>
            <Version>2.6.1</Version>
            <Comment>Rebuild for imagemagick</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2021-12-07</Date>
            <Version>2.6.1</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
